package com.le.tester.delay;

/**
 * 描述：只是继承了BaseDelayed,暴露需要初始化的值（延迟的时间和value）
 */
public class DelayedOrder extends BaseDelayed<String> {
    /**
     * 默认过期时间是20分钟
     */
    public static Long timeout = (long) 20 * 60;

    public DelayedOrder() {
    }

    public DelayedOrder(Long timeoutSeconds, String orderId) {
        super(timeoutSeconds, orderId);
    }

    public DelayedOrder(String orderId) {
        super(timeout, orderId);
    }
}
